#ifndef _TALK_SESSION_STR_CMDCONSOLE_H_
#define _TALK_SESSION_STR_CMDCONSOLE_H_

#include "talk/base/messagequeue.h"
#include "talk/base/thread.h"


namespace cricket {

	class CmdConsole : public talk_base::MessageHandler
	{
	public:
		CmdConsole(void*);
		~CmdConsole();

	private:
		void OnMessage(talk_base::Message*);

	private:
		void* core_;
	};

	class CoreCmd
	{
	public:
		virtual void SetCmdWayToCore(talk_base::Thread* cmd_thread, CmdConsole* cmd_console) = 0;
	};
}

#endif